;------------------------------------------------------------------------------------------------
[wpn_svu]:identity_immunities,weapon_probability,default_weapon_params,wpn_svu_sounds
GroupControlSection                      = spawn_group
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\svu"
scheduled                                = off
cform                                    = skeleton
parent_section                           = wpn_svu

class                                    = WP_SVU
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 3
ef_weapon_type                           = 11
hand_dependence                          = 1
single_handed                            = 0

default_to_ruck                          = false
sprint_allowed                           = true

inv_grid_height                          = 2
inv_grid_width                           = 5
inv_grid_x                               = 45
inv_grid_y                               = 2
inv_name                                 = st_wpn_svu
inv_name_short                           = st_wpn_svu
description                              = st_wpn_svu_descr

kind                                     = w_sniper
inv_weight                               = 3.81
cost                                     = 43860
repair_type                              = rifle_7
weapon_class                             = sniper_rifle

hud                                      = wpn_svu_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu.ogf
position                                 = -0.026, -0.084, 0.0
orientation                              = 0, 0, 0
fire_point                               = 0.0, 0.128, 0.522
fire_point2                              = 0.0, 0.128, 0.522
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.26, -0.11, 0.25
strap_orientation                        = -15, -9, 110
ph_mass                                  = 3

flame_particles                          = weapons\generic_weapon05
smoke_particles                          = weapons\generic_shoot_00

shell_point					             = 0.0, 0.128, 0.0
shell_dir		 			             = 0.0, 0.0, 0.4
shell_particles				             = weapons\762x54

light_disabled                           = true
light_color                              = 0.6, 0.5, 0.3
light_range                              = 4.0
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

upgrades                                 = up_gr_firstab_svu, up_gr_seconab_svu, up_gr_thirdab_svu, up_gr_fourtab_svu, up_gr_fourtcd_svu, up_gr_fourtef_svu, up_gr_fifthab_svu
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_svu
upgr_icon_x                              = 1750
upgr_icon_y                              = 300
upgr_icon_width                          = 300
upgr_icon_height                         = 100

fire_modes                               = 1
ammo_class                               = ammo_7.62x54_7h1, ammo_7.62x54_7h1_bad, ammo_7.62x54_7h1_verybad, ammo_7.62x54_ap, ammo_7.62x54_ap_bad, ammo_7.62x54_ap_verybad, ammo_7.62x54_7h14, ammo_7.62x54_7h14_bad, ammo_7.62x54_7h14_verybad
ammo_elapsed                             = 10
ammo_mag_size                            = 10
startup_ammo                             = 10

scopes                                   = 1p29, kobra, ps01
scope_status                             = 0
scope_name                               = wpn_addon_scope
scope_texture                            = 
scope_x                                  = 60
scope_y                                  = -2
scope_zoom_factor                        = 0

silencer_status                          = 1

grenade_launcher_status                  = 0

hit_impulse                              = 40
hit_power                                = 1.1, 1.1, 1.1, 1.1
hit_type                                 = fire_wound
fire_distance                            = 1050
bullet_speed                             = 805
rpm                                      = 70
rpm_empty_click                          = 200

use_aim_bullet                           = false
time_to_aim                              = 0.0 ;  1.0
zoom_enabled                             = true
zoom_rotate_time                         = 0.35
reload_dof                               = 0.0, 0.5, 5, 2
control_inertion_factor = 1.0f
crosshair_inertion                       = 8.8
fire_dispersion_base                     = 0.092
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.88
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.11

condition_queue_shot_dec                 = 0.0040
condition_shot_dec                       = 0.0040

cam_return                               = 0
cam_relax_speed                          = 3.0
cam_dispersion                           = 1.94
cam_dispersion_frac                      = 1.1
cam_dispersion_inc                       = 1.94
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 2.92
zoom_cam_relax_speed                     = 0.7
zoom_cam_dispersion                      = 0.75
zoom_cam_dispersion_frac                 = 1.0
zoom_cam_dispersion_inc                  = 1.48
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 2.56

PDM_disp_accel_factor                    = 3.05
PDM_disp_base                            = 1.33
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 3.05

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 120.75
holder_fov_modifier                      = 1.0
holder_range_modifier                    = 2.15
min_radius                               = 0
max_radius                               = 500
hit_probability_gd_novice                = 1.00
hit_probability_gd_stalker               = 1.00
hit_probability_gd_veteran               = 1.00
hit_probability_gd_master                = 1.00

kill_msg_x                               = 0
kill_msg_y                               = 59
kill_msg_width                           = 80
kill_msg_height                          = 26


[wpn_svu_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_hud
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

item_position                            = 0, 0, 0
item_orientation                         = 0, 0, 0

hands_position                           = 0.008, -0.17, 0.25
hands_position_16x9                      = 0.008, -0.17, 0.25
hands_orientation                        = 0.55, 2.39, 0.15
hands_orientation_16x9                   = 0.55, 2.39, 0.15

aim_hud_offset_pos                       = -0.112465, 0.0618, -0.25
aim_hud_offset_pos_16x9                  = -0.112465, 0.0618, -0.25
aim_hud_offset_rot                       = 0.0397, 0.02224, 0.0007
aim_hud_offset_rot_16x9                  = 0.0397, 0.02224, 0.0007

gl_hud_offset_pos                        = 0, 0, 0
gl_hud_offset_rot                        = 0, 0, 0

lean_hud_offset_pos                      = 0, 0, 0
lean_hud_offset_rot                      = 0, 0, 0

anm_hide                                 = svu_holster
anm_idle                                 = svu_idle
anm_idle_aim                             = svu_idle_aim
anm_idle_aim_moving                      = svu_idle_moving, idle, 0.75
anm_idle_aim_moving_crouch               = svu_idle_crouch
anm_idle_moving                          = svu_idle_moving
anm_idle_moving_crouch                   = svu_idle_crouch
anm_idle_sprint                          = svu_idle_sprint
anm_reload                               = svu_reload, reload
anm_reload_empty                         = svu_reload_empty, reload_empty
anm_shots                                = svu_shoot, shoot
anm_show                                 = svu_draw

shell_bone                               = gilza
shell_dir                                = 0, 1, 0
shell_point                              = 0, 0, 0

fire_bone                                = muzzle
fire_point                               = 0, 0, 0

freelook_z_offset_mul					 = 0.3

;------------------------------------------------------------------------------------------------
[wpn_svu_kobra]:wpn_svu
1icon_layer                              = kobra
1icon_layer_x                            = 75
1icon_layer_y                            = 9

inv_weight                               = 4.22

hud                                      = wpn_svu_kobra_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_kobra.ogf

scope_status                             = 0
scope_dynamic_zoom                       = off


[wpn_svu_kobra_hud]:wpn_svu_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_kobra_hud.ogf

aim_hud_offset_pos                       = -0.1121, 0.0418, -0.25
aim_hud_offset_pos_16x9                  = -0.1121, 0.0418, -0.25
aim_hud_offset_rot                       = 0.04, 0.02205, 0.0005
aim_hud_offset_rot_16x9                  = 0.04, 0.02205, 0.0005

;------------------------------------------------------------------------------------------------
[wpn_svu_1p29]:wpn_svu
1icon_layer                              = 1p29
1icon_layer_x                            = 72
1icon_layer_y                            = 6

inv_weight                               = 4.61

hud                                      = wpn_svu_1p29_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_1p29.ogf

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_1p29
scope_zoom_factor                        = 15

zoom_rotate_time                         = 0.3


[wpn_svu_1p29_hud]:wpn_svu_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_1p29_hud.ogf

aim_hud_offset_pos                       = -0.1145, 0.0415, -0.35
aim_hud_offset_pos_16x9                  = -0.1145, 0.0415, -0.35
aim_hud_offset_rot                       = 0.04, 0.02205, 0.0005
aim_hud_offset_rot_16x9                  = 0.04, 0.02205, 0.0005

;------------------------------------------------------------------------------------------------
[wpn_svu_ps01]:wpn_svu
1icon_layer                              = ps01
1icon_layer_x                            = 47
1icon_layer_y                            = 8

inv_weight                               = 4.41

hud                                      = wpn_svu_pso1_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_pso1.ogf

scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                        = 15


[wpn_svu_pso1_hud]:wpn_svu_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_pso1_hud.ogf

aim_hud_offset_pos                       = -0.101, 0.0567, -0.3
aim_hud_offset_pos_16x9                  = -0.101, 0.0567, -0.3
aim_hud_offset_rot                       = 0.04, 0.02205, 0.0005
aim_hud_offset_rot_16x9                  = 0.04, 0.02205, 0.0005


;------------------------------------------------------------------------------------------------
;-- Alt
;------------------------------------------------------------------------------------------------
[wpn_svu_alt]:wpn_svu
parent_section                           = wpn_svu_alt

inv_grid_x                               = 45
inv_grid_y                               = 4
inv_name                                 = st_wpn_svu_alt
inv_name_short                           = st_wpn_svu_alt

cost                                     = 48850

hud                                      = wpn_svu_sk1_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_sk1.ogf

installed_upgrades                       = up_secona_svu

rpm                                      = 78

fire_dispersion_base                     = 0.073

misfire_start_condition                  = 0.7 ;  0.75
misfire_start_prob                       = 0.004
misfire_end_condition                    = 0.08
misfire_end_prob                         = 0.03

condition_queue_shot_dec                 = 0.0045
condition_shot_dec                       = 0.0045


[wpn_svu_sk1_hud]:wpn_svu_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_svu_alt_1p29]:wpn_svu_alt
1icon_layer                              = 1p29
1icon_layer_x                            = 72
1icon_layer_y                            = 6

inv_weight                               = 4.61

hud                                      = wpn_svu_1p29_sk1_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_1p29_sk1.ogf

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_1p29
scope_zoom_factor                        = 15

zoom_rotate_time                         = 0.3


[wpn_svu_1p29_sk1_hud]:wpn_svu_1p29_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_1p29_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_svu_alt_kobra]:wpn_svu_alt
1icon_layer                              = kobra
1icon_layer_x                            = 75
1icon_layer_y                            = 9

inv_weight                               = 4.22

hud                                      = wpn_svu_kobra_sk1_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_kobra_sk1.ogf

scope_status                             = 0
scope_dynamic_zoom                       = off


[wpn_svu_kobra_sk1_hud]:wpn_svu_kobra_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_kobra_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_svu_alt_ps01]:wpn_svu_alt
1icon_layer                              = ps01
1icon_layer_x                            = 47
1icon_layer_y                            = 8

inv_weight                               = 4.41

hud                                      = wpn_svu_pso1_sk1_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_pso1_sk1.ogf

scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                        = 15


[wpn_svu_pso1_sk1_hud]:wpn_svu_pso1_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_pso1_sk1_hud.ogf


;------------------------------------------------------------------------------------------------
;-- Nimble
;------------------------------------------------------------------------------------------------
[wpn_svu_nimble]:wpn_svu
$spawn                                   = "weapons\wpn_svu_nimble"
parent_section                           = wpn_svu_nimble

class                                    = WP_AK74

inv_grid_x                               = 45
inv_grid_y                               = 8
inv_name                                 = st_wpn_svu_nimble
description                              = st_wpn_svu_nimble_descr

inv_weight                               = 3.83
cost                                     = 48580

hud                                      = wpn_svu_nimble_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_nimble.ogf

grenade_flame_particles                  = weapons\generic_weapon01

installed_upgrades                       = up_fiftha_svu

fire_modes                               = 1, -1

scopes                                   = 1p29, kobra, ps01

grenade_class                            = ammo_m209
launch_speed                             = 0

hit_power                                = 0.8, 0.8, 0.8, 0.8
rpm                                      = 115

fire_dispersion_base                     = 0.108

misfire_start_condition                  = 0.7 ;  0.8
misfire_start_prob                       = 0.005
misfire_end_condition                    = 0.09
misfire_end_prob                         = 0.04

condition_queue_shot_dec                 = 0.0035
condition_shot_dec                       = 0.0035


[wpn_svu_nimble_hud]:wpn_svu_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_nimble_hud

grenade_bone                             = grenade

;------------------------------------------------------------------------------------------------
[wpn_svu_nimble_1p29]:wpn_svu_nimble
1icon_layer                              = 1p29
1icon_layer_x                            = 72
1icon_layer_y                            = 6

inv_weight                               = 4.63

hud                                      = wpn_svu_nimble_1p29_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_1p29_nimble.ogf

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_1p29
scope_zoom_factor                        = 15

zoom_rotate_time                         = 0.3


[wpn_svu_nimble_1p29_hud]:wpn_svu_1p29_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_1p29_nimble_hud.ogf

grenade_bone                             = grenade

;------------------------------------------------------------------------------------------------
[wpn_svu_nimble_kobra]:wpn_svu_nimble
1icon_layer                              = kobra
1icon_layer_x                            = 75
1icon_layer_y                            = 9

inv_weight                               = 4.25

hud                                      = wpn_svu_nimble_kobra_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_kobra_nimble.ogf

scope_status                             = 0
scope_dynamic_zoom                       = off


[wpn_svu_nimble_kobra_hud]:wpn_svu_kobra_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_kobra_nimble_hud.ogf

grenade_bone                             = grenade

;------------------------------------------------------------------------------------------------
[wpn_svu_nimble_ps01]:wpn_svu_nimble
1icon_layer                              = ps01
1icon_layer_x                            = 47
1icon_layer_y                            = 8

inv_weight                               = 4.44

hud                                      = wpn_svu_nimble_pso1_hud
visual                                   = dynamics\weapons\wpn_svu\wpn_svu_pso1_nimble.ogf

scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                        = 15


[wpn_svu_nimble_pso1_hud]:wpn_svu_pso1_hud
item_visual                              = anomaly_weapons\wpn_svu\wpn_svu_pso1_nimble_hud.ogf

grenade_bone                             = grenade

